<?php
class Group extends AppModel {

	var $name = 'Group';
	
	var $hasMany = 'User';
	
	var $hasOne = array(
        'Aro' => array(
            'className'    => 'Aro',
			'foreignKey'   => 'foreign_key',	
            'conditions'   => array('Aro.model' => 'Group'),
            'dependent'    => true
        )
    ); 
	
	var $validate = array(
        'name' => array(
			'rule' => 'notEmpty'                    
        )
    );

}
?>
